﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebStore.Web.App.Models.Account
{
    public class LogOnModel
    {

        public const string RequiredErrorMessage = "Field is required";

        [DisplayName("Email")]
        [Required(ErrorMessage = RequiredErrorMessage)]
        public string Email { get; set; }

        [DisplayName("Password")]
        [Required(ErrorMessage = RequiredErrorMessage)]
        [DataType(DataType.Password)]
        public string Password { get; set; }

    }
}